package com.zb777.shuzhilingxi.service;

import com.zb777.shuzhilingxi.Pojo.dto.UserDTO;
import com.zb777.shuzhilingxi.Pojo.dto.UserLoginDTO;
import com.zb777.shuzhilingxi.Pojo.entity.User;
import com.baomidou.mybatisplus.extension.service.IService;
import com.zb777.shuzhilingxi.Pojo.vo.UserVo;
import com.zb777.shuzhilingxi.result.Result;

import java.util.Optional;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author author
 * @since 2025-07-10
 */
public interface IUserService extends IService<User> {

    Result register(UserDTO userDTO);

    User login(UserLoginDTO userLoginDTO);

    User SelectByUserId(Long userId);

}
